<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<script>
/**
 * this stub is for the pages which may need the VIP Card search
 */
 function searchFromChainStore(){
	 var param = "formBean.chainStore.chain_name=" + $("#fromChainName").val();
 	 
	 var url = "chainTransferJSPAction!listFromChainStore?" + param;

	 window.open(encodeURI(encodeURI(url)),'新窗口','height=400, width=400, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no');  
}

function selectFromChainStore(chainId, chainName){
	
	$("#fromChainId").val(chainId);
	$("#fromChainName").textbox("setValue",chainName)
	
}

function clearFromChainName(){
	$("#fromChainId").val("");
	$("#fromChainName").val("");
}

</script>
		<s:hidden name="formBean.transferOrder.fromChainStore.chain_id" id="fromChainId"/>
		<input id="fromChainName" class="easyui-searchbox" value="<s:property value="formBean.transferOrder.fromChainStore.chain_name"/>" data-options="prompt:'请输入调出连锁店',searcher:searchFromChainStore" style="width:170px">
